<nav class="navbar-default navbar-fixed-bottom footer_nav">
    <div class="foot_nav btn-group dropup">
        <a class="dropdown-toggle" href="/">
            <span class="glyphicon glyphicon-share btn-lg" aria-hidden="true">
            </span>
            首页
        </a>
    </div>
    <div class="foot_nav">
        <a href="tel:{$site_phone}">
            <span class="glyphicon glyphicon-phone btn-lg" aria-hidden="true">
            </span>
            手机
        </a>
    </div>
    <div class="foot_nav">
        <a id="gotocate" href="#">
            <span class="glyphicon glyphicon-th-list btn-lg" aria-hidden="true">
            </span>
            分类
        </a>
    </div>
    <div class="foot_nav">
        <a id="gototop" href="#">
            <span class="glyphicon glyphicon-circle-arrow-up btn-lg" aria-hidden="true">
            </span>
            顶部
        </a>
    </div>
</nav>
<footer>
    <div class="container">
        <div class="row">
            <div class="col-xs-12 col-sm-4 col-md-4">
                <div class="footerLogo">
                    <img src="{$site_footlogo}" />
                </div>
                <div class="footerContact">
                    {$site_address}
                    <br />
                    {$site_telephone}
                    <br />
                    {$site_email}
                    <br />
                </div>
            </div>
            <div class="col-xs-12 col-sm-4 col-md-4">
                <div class="quikLink">
                    <div class="footerTitle">
                        快速链接
                    </div>
                    <div class="footerContent">
                        <gr:cat catid="0" id="r">
                            <a href="{$r.url}" }>
                                {$r.catname}
                            </a>
                        </gr:cat>
                    </div>
                </div>
            </div>
            <div class="col-xs-12 col-sm-4 col-md-4" id="footerSearch">
                <div class="footerTitle">
                    站内搜索
                </div>
                <div class="footerContent">
                    <div class="searchBox">
                        <form id="searchform" action="/?m=search" method="post">
                            <input type="text" name="keyword" value="产品搜索" onFocus="this.value=''"
                            onBlur="if(!value){value=defaultValue;}">
                            <button onclick="javascript:searchform.submit();">
                                搜索
                            </button>
                        </form>
                    </div>
                    <div class="collectBox">
                        <span>
                            关注我们
                        </span>
                        <a class="weibo" href="http://weibo.com/u/{$site_weibo}">
                            &nbsp;
                        </a>
                        <a class="weixin" href="javascript:showWechatQR()">
                            &nbsp;
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="copyright">
        <p style="white-space:normal;text-align:center;">
            CopyRight {$site_copyright}&nbsp;{$site_approve}&nbsp; 地址：{$site_address}
            &nbsp;电话:{$site_telephone} &nbsp;
        </p>
    </div>
</footer>
<!-- 关注微信模态框（Modal）start -->
<div class="modal fade" id="wechatModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content" style="border: 0px;">
            <div class="modal-header">
                请扫描二维码关注我们
            </div>
            <div class="modal-body" style="text-align: center">
                <img src="{$site_wzqrcode}" alt="" />
            </div>
            <div class="modal-footer" style="text-align: center;">
                <button type="button" class="btn btn-primary" data-dismiss="modal">
                    关闭
                </button>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    function showWechatQR() {
        $("#wechatModal").modal("show")
    }
</script>
<!-- 关注微信模态框（Modal）end -->
<script type="text/javascript">
    function mShare() {
        $("#mShareBox").toggle();
        $("#serviceBox").hide();
    }
    if ($(".banner .slider__wrapper li").length == 0) {
        $(".banner").addClass("emptyBanner");
    }
    function showService() {
        $("#mShareBox").hide();
        $("#serviceBox").toggle();
    }
</script>
{:W('Kefu')}
</footer>
<link rel="stylesheet" type="text/css" href="__CSS__/chat.css" />
<script>
    $('#kefu .kefuClose').click(function() {
        $('#kefu .kefuLeft').animate({
            width: '30px'
        },
        500);
        $('#kefu .kefuRight').animate({
            width: 0
        },
        100);
    });
    $('.kefuLeft').click(function() {
        $(this).animate({
            width: 0
        },
        100);
        $('.kefuRight').animate({
            width: '154px'
        },
        100);
    });
</script>
<script src="__JS__/common.js" type="text/javascript">
</script>
<script type="text/javascript">
    function mShare() {
        $("#mShareBox").toggle();
        $("#serviceBox").hide();
    }
    if ($(".banner .slider__wrapper li").length == 0) {
        $(".banner").addClass("emptyBanner");
    }
    function showService() {
        $("#mShareBox").hide();
        $("#serviceBox").toggle();
    }
</script>
<!--访问统计-->
<script>
    window.onload = function()
    {
        $.ajax({
            url:"{:U('Api/Hitstall/index')}",
        });
    }
</script>
</html>